<template>
	<div class="activity-footer">
		<div class="button1">
			<image class="button1-icon" src="/static/share.png"></image>
			<div class="button1-text">分享</div>
		</div>
		<div class="button1">
			<image class="button1-icon" src="/static/heart.png"></image>
			<div class="button1-text">收藏</div>
		</div>
		<u-button class="button2" type="primary">
			<div>
				<div style="font-size: 32rpx;">立即报名</div>
				<div style="font-size: 20rpx;">距离结束还剩12天</div>
			</div>
		</u-button>
	</div>
</template>

<script>
	export default {
		name: 'activity-footer'
	}
</script>

<style lang="scss" scoped>
	.activity-footer {
		position: fixed;
		left: 0;
		bottom: 0;
		z-index: 101;
		display: flex;
		align-items: center;
		width: 100%;
		height: 128rpx;
		padding: 0 24rpx;
		background: #fff;
		border-top: 1px solid rgba(#000, 0.05);
		box-sizing: border-box;
	}

	.button1 {
		margin-right: 24rpx;
		flex-shrink: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 88rpx;
		height: 88rpx;
		border-radius: 8px;
		background: linear-gradient(135deg, rgba(#F9865D, 0.1) 0%, rgba(#F75D24, 0.1) 100%);
		box-sizing: border-box;
		border: 1px solid rgba(#F36D3C, 0.1);

		&-text {
			margin-top: 2px;
			font-size: 20rpx;
			line-height: 1;
			color: #F36D3C;
		}

		&-icon {
			width: 36rpx;
			height: 36rpx;
		}
	}
</style>
